package com.aaa.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: Jyc
 * @classname: TreeNode
 * @date: 2023/3/27
 * @time: 11:06
 * @description:树形节点实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TreeNode {
    //编号
    private Integer id;
    //名称 和ElementUi里的对应
    private String label;
    //父节点图标
    private Integer parentId;
    //图标
    private String icon;
    //请求地址
    private String url;
    //子节点集合
    private List<TreeNode> children;

}
